Package com.bitmovin.player.api.drm

Contains API to enable DRM playback.

Types

ClearKeyConfig
Link copied to clipboard
class ClearKeyConfig(entries: ClearKeyConfigEntry) : DrmConfig
Configures ClearKey key/value pairs to enable decryption of ClearKey protected content.
ClearKeyConfigEntry
Link copied to clipboard
data class ClearKeyConfigEntry(key: String, kid: String?) : Parcelable
Represents a single ClearKey key/id pair.
DrmConfig
Link copied to clipboard
abstract class DrmConfig : Parcelable
Configures decryption of DRM protected content.
DrmData
Link copied to clipboard
data class DrmData(data: ByteArray, type: DrmData.Type)
Represents DRM information of type DrmData.Type.
DrmRequest
Link copied to clipboard
class DrmRequest(drmData: DrmData, url: String, headers: Map<String?, String?>?, body: ByteArray?, httpMethod: String) : HttpRequest
An HTTP request for DRM information.
PrepareLicenseCallback
Link copied to clipboard
interface PrepareLicenseCallback
Can be implemented to prepare the license acquisition response.
PrepareMessageCallback
Link copied to clipboard
interface PrepareMessageCallback
Can be implemented to prepare the license acquisition message which will be sent to the license acquisition server.
WidevineConfig
Link copied to clipboard
open class WidevineConfig : DrmConfig
Configures decryption of a Widevine DRM protected Source.